package com.dj.domain.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 系统用户
 * 
 * @author jasen.hsu.cn@gmail.com 2012-3-31 下午1:53:00
 */
public class DaiJiaUser implements Serializable {

    /** 默认公司网站类型 */
    public static final String DEFAULT_USER_SITE = "daijia";
    /** 用户类型：个人 */
    public static final String USER_TYPE_PERSON  = "0";
    /** 用户类型：公司 */
    public static final String USER_TYPE_CORP    = "1";

    private static final long  serialVersionUID  = 7554511892025176855L;

    /** ID */
    private Long               id;

    /** 登录帐号 */
    private String             loginId;

    /** 帐号来源网站 */
    private String             site;

    /** 用户类型: 0:个人;1:公司 */
    private String             userType;

    /** 密码 */
    private String             password;

    /** 姓名 */
    private String             name;

    /** 性别 */
    private String             sex;

    /** 手机号码 */
    private String             mobile;

    /** 手机号码是否验证 */
    private String             mobileVerified;

    /** 邮箱 */
    private String             email;

    /** 邮箱是否验证 */
    private String             emailVerified;

    /** 省份 */
    private String             province;

    /** 城市 */
    private String             city;

    /** 区县 */
    private String             county;

    /** 注册时间 */
    private Date               gmtReg;

    /** 修改时间 */
    private Date               gmtModified;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMobileVerified() {
        return mobileVerified;
    }

    public void setMobileVerified(String mobileVerified) {
        this.mobileVerified = mobileVerified;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmailVerified() {
        return emailVerified;
    }

    public void setEmailVerified(String emailVerified) {
        this.emailVerified = emailVerified;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public Date getGmtReg() {
        return gmtReg;
    }

    public void setGmtReg(Date gmtReg) {
        this.gmtReg = gmtReg;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

}
